/**
 * Created by dale on 2017/10/19.
 */
$(document).ready(function () {
    $('#classList').on('click','.clickClass',function () {
        var id=$(this).attr('id');
        window.top.xhTop.showModal({
            title:'公开课',
            content: '<iframe src="'+baseUrl+'frontend/tch/pClassDetail?iPCId='+id+'"  style="width: 100%;;border-style: none;padding: 0px;height:520px"  scrolling="yes"   ></iframe>',
            size:'lg',
        });
    });
    $('#more').click(function () {
        window.top.xhTop.createNewTab('公开课列表',baseUrl+'frontend/Tch/pClassList',true);
    });
    $('#header').attr('display','none');
});
